package com.blogs.web.game.type;

import com.blogs.web.game.Game;

/**
 * @Author: xiaokai
 * @Description: 巨型战舰部队
 * @Date: 2019/8/18
 * @Version: 1.0
 */
public class Battleship extends Game {
    public Battleship(int x, int y) {
        super(25, 200, 500, x, y);
    }

    @Override
    public void show() {
        System.out.println("战舰出现在坐标：[" + x + "," + y + "]");
    }

    @Override
    public void attack() {
        System.out.println("战舰用激光炮打击，攻击力：" + attack);
    }
}
